package com.laowu.constants;

/**
 * code状态码常量类
 * 
 * @author laoxu
 *
 */
public class CodeConstants {

	/**
	 * 成功状态码
	 */
	public final static int SUCCESSFUL = 200;

	/**
	 * 失败状态码
	 */
	public final static int FIAL = 201;

	/**
	 * 异常状态码
	 */
	public final static int ERROR = 500;

	/**
	 * 密码错误
	 */
	public final static int PASSWORD_ERROR = 202;

	/**
	 * 用户不存在
	 */
	public final static int USER_IS_NOT = 203;

	/**
	 * 用户名为空
	 */
	public final static int USERNAME_IS_EMPTY = 204;

	/**
	 * 密码为空
	 */
	public final static int PASSWORD_IS_EMPTY = 205;

}
